package com.example.bean;

public class Film {
    private Integer cover;
    private String filmName;
    private Double filmScore;
    private String filmYear;

    public Film() {
    }

    public Film(Integer cover, String filmName, Double filmScore, String filmYear) {
        this.cover = cover;
        this.filmName = filmName;
        this.filmScore = filmScore;
        this.filmYear = filmYear;
    }

    public Integer getCover() {
        return cover;
    }

    public void setCover(Integer cover) {
        this.cover = cover;
    }

    public String getFilmName() {
        return filmName;
    }

    public void setFilmName(String filmName) {
        this.filmName = filmName;
    }

    public Double getFilmScore() {
        return filmScore;
    }

    public void setFilmScore(Double filmScore) {
        this.filmScore = filmScore;
    }

    public String getFilmYear() {
        return filmYear;
    }

    public void setFilmYear(String filmYear) {
        this.filmYear = filmYear;
    }

    @Override
    public String toString() {
        return "Film{" +
                "cover=" + cover +
                ", filmName='" + filmName + '\'' +
                ", filmScore=" + filmScore +
                ", filmYear='" + filmYear + '\'' +
                '}';
    }
}
